# Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
pkgname=junit
pkgver=4.12
pkgrel=1
pkgdesc='Simple JVM framework to write repeatable tests'
arch=('any')
url='http://junit.org/'
license=('EPL')
depends=('java-environment' 'java-hamcrest')
source=(http://search.maven.org/remotecontent?filepath=${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.jar)
sha256sums=('59721f0805e223d84b90677887d9ff567dc534d7c502ca903c0c2b17f05c116a')

package() {
  install -D -m 644 ${srcdir}/${pkgname}-${pkgver}.jar ${pkgdir}/usr/share/java/${pkgname}-${pkgver}.jar
  ln -s ${pkgname}-${pkgver}.jar ${pkgdir}/usr/share/java/${pkgname}.jar
}
